<!DOCTYPE html>
<html lang="en" class="no-js">
    <head>        
        <title>BetosImportAPP</title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta content="" name="description" />
        <meta content="" name="author" />

        <link href="<?php echo base_url("assets/plugins/bootstrap/css/bootstrap.min.css") ?>" rel="stylesheet" media="screen">
        <link rel="stylesheet" href="<?php echo base_url("assets/plugins/font-awesome/css/font-awesome.min.css") ?>">
        <link rel="stylesheet" href="<?php echo base_url("assets/fonts/style.css") ?>">
        <link rel="stylesheet" href="<?php echo base_url("assets/css/main.css") ?>">
        <link rel="stylesheet" href="<?php echo base_url("assets/css/main-responsive.css") ?>">
        <link rel="stylesheet" href="<?php echo base_url("assets/plugins/iCheck/skins/all.css") ?>">
        <link rel="stylesheet" href="<?php echo base_url("assets/plugins/perfect-scrollbar/src/perfect-scrollbar.css") ?>">
        <link rel="stylesheet" href="<?php echo base_url("assets/css/theme_light.css") ?>" id="skin_color">

    </head>
    <body class="login example2">
        <div class="main-login col-sm-4 col-sm-offset-4">
            <div class="logo">Betto'S<i class="clip-clip"></i>Import
            </div>
            <!-- start: LOGIN BOX -->
            <div class="box-login">
                <h3>Accede a tu cuenta</h3>
                <p>
                    Por favor, introduzca su usuario y contraseña para entrar.
                </p>
                <form class="form-login" action="<?php echo base_url('acceso/validar'); ?>" method="post">
                    <div class="errorHandler alert alert-danger no-display">
                        <i class="icon-remove-sign"></i> Usted tiene algunos errores. Por favor, corríjalos.
                    </div>
                    <fieldset>
                        <div class="form-group">
                            <span class="input-icon">
                                <input type="text" class="form-control" name="usuario" value="administrador" placeholder="Usuario">
                                <i class="icon-user"></i> </span>
                                <div style="color: #F02121"><?php echo form_error('usuario');?></div>
                        </div>
                        <div class="form-group form-actions">
                            <span class="input-icon">
                                <input type="password" class="form-control password" name="clave" value="123456" placeholder="Contraseña">
                                <i class="icon-lock"></i>
                            </span>
                            <div style="color: #F02121"><?php echo form_error('clave');?></div>
                        </div>
                        <div class="form-actions">
                            <button type="submit" class="btn btn-bricky pull-right" id="login">
                                Iniciar Sesión <i class="icon-circle-arrow-right"></i>
                            </button>
                        </div>
                        <hr/>
                        <div class="space20">
                            <?php if (isset($this->form_data->msj)) {
                                echo "<div class='alert alert-danger'>
                                    <button class='close' data-dismiss='alert'> × </button>
                                    <i class='icon-remove-sign'></i><strong> Error!</strong> ".$this->form_data->msj."</div>";
                            } ?>
                        </div>                        
                    </fieldset>
                </form>
            </div>
            <div class="copyright">
                2013 &copy; clip-one by cliptheme.
            </div>
            <!-- end: COPYRIGHT -->
        </div>
        <script src="<?php echo base_url("assets/js/jquery-1.9.1.js") ?>"></script>
        <script src="<?php echo base_url("assets/plugins/jquery-ui/jquery-ui-1.10.2.custom.min.js") ?>"></script>
        <script src="<?php echo base_url("assets/plugins/bootstrap/js/bootstrap.min.js") ?>"></script>
        <script src="<?php echo base_url("assets/plugins/blockUI/jquery.blockUI.js") ?>"></script>
        <script src="<?php echo base_url("assets/plugins/iCheck/jquery.icheck.min.js") ?>"></script>
        <script src="<?php echo base_url("assets/plugins/perfect-scrollbar/src/jquery.mousewheel.js") ?>"></script>
        <script src="<?php echo base_url("assets/plugins/perfect-scrollbar/src/perfect-scrollbar.js") ?>"></script>
        <script src="<?php echo base_url("assets/js/main.js") ?>"></script>
        <!-- end: MAIN JAVASCRIPTS -->
        <!-- start: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
        <script src="<?php echo base_url("assets/plugins/jquery-validation/dist/jquery.validate.min.js") ?>"></script>
        <script src="<?php echo base_url("assets/js/login.js") ?>"></script>

        <!-- end: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
        <script>
            jQuery(document).ready(function() {
                Main.init();
                Login.init();
            });
        </script>
    </body>

</html>